#!/bin/bash
clear

TEXT='\033[30;107;2m'
INFO='\033[97;44m'
WARNING='\033[97;43m'
ERROR='\033[97;41m'
SUCCESS='\033[97;42m'
GREEN='\033[92m'
YELLOW='\033[93m'
RESET='\033[0m'

if [ "${EUID}" -ne 0 ]; then
	echo -e "${ERROR} RALAT ${RESET}${TEXT} Anda tiada kebenaran untuk menjalankan skrip ini! ${RESET}"; exit 1
fi



clear
echo
echo -e "${TEXT} ========================================================== ${RESET}"
echo -e "${TEXT} TROJAN - BUAT AKAUN                                        ${RESET}"
echo -e "${TEXT} ---------------------------------------------------------- ${RESET}"
echo
echo -e "${YELLOW} Kenyataan    :${RESET} ${GREEN}$_username${RESET}"
echo -e "${YELLOW} Alamat IP    :${RESET} ${GREEN}$ipv4_addr${RESET}"
echo -e "${YELLOW} Nama domain  :${RESET} ${GREEN}$host_addr${RESET}"
echo -e "${YELLOW} Protokol     :${RESET} ${GREEN}$v2ray_proto${RESET}"
echo -e "${YELLOW} Rangkaian    :${RESET} ${GREEN}$v2ray_network${RESET}"
echo -e "${YELLOW} Keselamatan  :${RESET} ${GREEN}$v2ray_security${RESET}"
echo -e "${YELLOW} Alamat port  :${RESET} ${GREEN}$v2ray_port${RESET}"
echo -e "${YELLOW} Kata laluan  :${RESET} ${GREEN}$_password${RESET}"
echo -e "${YELLOW} Tempoh aktif :${RESET} ${GREEN}$_duration hari${RESET}"
echo -e "${YELLOW} Tarikh luput :${RESET} ${GREEN}$tarikh_luput${RESET}"
echo
echo " Pautan pelanggan: $trojan_link"
echo " Fail pelanggan: $trojan_file"
echo
echo -e "${TEXT} ---------------------------------------------------------- ${RESET}"
echo -e "${TEXT} Dicipta oleh Doctype, Dikuasakan oleh Cybertize.           ${RESET}"
echo -e "${TEXT} ========================================================== ${RESET}"
echo